/**
 * Implementation par defaut de l'interface ISqiBoundComponent
 */ 

private var _fieldName:String;

[Bindable]
[Inspectable(category="Flexqueries")]
/**
 * Nom du champ de la requete
 */ 
public function get fieldName():String
{
	return _fieldName;
}
public function set fieldName(value:String):void
{
	this._fieldName = value;
}


private var _query:SqlQuery;

[Bindable]
[Inspectable(category="Flexqueries")]
/**
 * SqlQuery source
 */ 
public function get query():SqlQuery
{
	return _query;
}

public function set query(value:SqlQuery):void
{
	_query = value;
	_query.addEventListener(SqlEvent.SQL_READ, onRead);
	_query.addEventListener(SqlEvent.SQL_RESET, onReset);
}
